/*
 * Copyright (c) 2022-2022 All rights Reserved.
 */

package com.driving.core.entity;

import java.time.LocalDateTime;

import org.apache.ibatis.type.Alias;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.driving.core.base.AbstractModel;

import lombok.Getter;
import lombok.Setter;

/**
 * 学员日记
 *
 * @author SAGITTAR
 * @since 2017
 */
@Getter
@Setter
@Alias(value = "Diary")
@TableName(value = "tb_diary")
public class Diary extends AbstractModel<Diary> {

    private static final long serialVersionUID = 7976513354555318913L;

    @TableField(value = "student_id")
    private Integer studentId;

    @TableField(value = "detail")
    private String detail;

    @TableField(value = "record_date_time")
    private LocalDateTime recordDateTime;

    @TableField(value = "thumb_up_count")
    private Integer thumbUpCount;
}
